package com.divine.wn.pt.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.divine.wn.pt.persistence.BackUserMapper;
import com.divine.wn.pt.vo.BackUserVO;

@Service
public class BackUserService {
	@Autowired
	private BackUserMapper backUserMapper;
	
	//@Transactional  在需要事务的时候加上这个标签。
	
	public BackUserVO getBackUser(BackUserVO  backUser){
		return backUserMapper.getBackUser(backUser);
	}
	
	
	public void updatePassword(BackUserVO  backUserVO){
		
		backUserMapper.updatePassword(backUserVO);
	}
}
